package com.lingx.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component(value="lingxConfigService")
public class ConfigService {
	@Value("#{configs['lingx.api.port']}")
	private String webHttpPort="9876";
	
	@Value("#{configs['lingx.file.port']}")
	private String fileHttpPort="9877";
	
	@Value("#{configs['lingx.exit.port']}")
	private String exitPort="9870";
	
	public String getWebHttpPort() {
		return webHttpPort;
	}

	public void setWebHttpPort(String webHttpPort) {
		this.webHttpPort = webHttpPort;
	}

	public String getFileHttpPort() {
		return fileHttpPort;
	}

	public void setFileHttpPort(String fileHttpPort) {
		this.fileHttpPort = fileHttpPort;
	}

	public String getExitPort() {
		return exitPort;
	}

	public void setExitPort(String exitPort) {
		this.exitPort = exitPort;
	}
	
	
}
